package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色权限表
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "SysRolesPermissions对象", description = "角色权限表")
public class SysRolesPermissions implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "角色权限表主码", hidden = true)
	@TableId(value = "role_permission_ID", type = IdType.AUTO)
	private Long rolePermissionId;

	@ApiModelProperty(value = "角色表主码")
	@TableField("role_ID")
	private Long roleId;

	@ApiModelProperty(value = "权限表主码")
	@TableField("permission_ID")
	private Long permissionId;


}
